package com.ndp.fb.model.fbagent.param.adcreative;

import com.ndp.fb.annotation.FBParam;
import com.ndp.fb.model.fbagent.param.FacebookParam;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

/**
 * Created by infi on 2015/1/24.
 */
@Setter
@Getter
@NoArgsConstructor
public class AdCreativeParam extends FacebookParam {
    /**
     * creativeId
     */
    private String creativeId;
    @FBParam("actor_id")
    private String actorId;
    /**
     * name
     */
    @FBParam("name")
    private String name;
    /**
     * 应用id
     */
    @FBParam("object_id")
    private Long objectId;
    /**
     * creative内容描述
     */
    @FBParam("body")
    private String body;
    /**
     * A JSON object defining crop dimensions for the image specified. See image crop reference for more details.
     */
    @FBParam("image_crops")
    private Object imageCrops;
    /**
     * 图片hash值
     */
    @FBParam("image_hash")
    private String imageHash;
    /**
     * 图片url
     */
    @FBParam("image_url")
    private String imageUrl;
    @FBParam("image_file")
    private String imageFile;
    @FBParam("instagram_actor_id")
    private String instagramActorId;
    /**
     * id
     */
    @FBParam("id")
    private Integer id;
    /**
     * creative标题
     */
    @FBParam("title")
    private String title;
    /**
     * link_url
     */
    @FBParam("link_url")
    private String linkUrl;
    /**
     * urltags
     */
    @FBParam("url_tags")
    private String urlTags;
    /**
     * follow_redirect
     */
    @FBParam("follow_redirect")
    private Boolean followRedirect;
    /**
     * Destination URL for a link ad (not connected to a page)
     */
    @FBParam("object_url")
    private String objectUrl;
    /**
     * The product set from which products will be selected to show in the creative for Dynamic Product Ads
     */
    @FBParam("product_set_id")
    private Long productSetId;
    /**
     * The status of the creative:
     * PENDING ACTIVE PAUSED DELETED PENDING_REVIVEW DISAPPROVED PREAPPROVED PENDING_BILLING_INFO CAMPAIGN_PAUSED
     * ADGROUP_PAUSED CAMPAIGN_GROUP_PAUSED ARCHIVED
     */
    @FBParam("run_status")
    private String runStatus;
    /**
     * object_story_id
     */
    @FBParam("object_story_id")
    private String objectStoryId;
    /**
     * object_story_spec
     */
    @FBParam("object_story_spec")
    private ObjectStorySpec objectStorySpec;
    @FBParam("thumbnail_url")
    private String thumbnailUrl;
}
